package com.hjp.blog.dao;

import com.hjp.blog.po.User;
import org.springframework.data.jpa.repository.JpaRepository;
//Long为主键
public interface UserRepository extends JpaRepository<User,Long> {
    //用户登录
    User findByUsernameAndPassword(String username, String password);
}
